import request from '@/utils/request'

export function list(data) {
  if (data !== undefined && data.is_page === 0){
    data = {
      ...data,
      pageNum: 1,
      pageSize: 3000,
    }
  }
  return request({
    url: '/' +
      'xnf/fee/list',
    headers: {
      repeatSubmit: false
    },
    method: 'get',
    params: data
  })
}
